/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.grnt.common;

/**
 *
 * It describes a tree fields type in generic.
 * @param <T1> First field type.
 * @param <T2> Second field type.
 * @param <T3> Third field type.
 * @author sayid
 */
public class Triple<T1, T2, T3> {
	/**
	 *
	 * The first field
	 */
	public final T1 value1;
	/**
	 *
	 * The second field
	 */
	public final T2 value2;
	/**
	 *
	 * The third field
	 */
	public final T3 value3;

	/**
	 *
	 * To set object value.
	 * @param value1 It will be set to first field
	 * @param value2 It will be set to second field
	 * @param value3 It will be set to third field
	 */
	public Triple(T1 value1, T2 value2, T3 value3) {
		this.value1 = value1;
		this.value2 = value2;
		this.value3 = value3;
	}
}
